package cn.jjxx.modules.fm.service.impl;

import java.util.List;
import cn.jjxx.core.common.service.impl.CommonServiceImpl;
import cn.jjxx.modules.fm.mapper.FmBankAccountMapper;
import cn.jjxx.modules.fm.entity.FmBankAccount;
import cn.jjxx.modules.fm.service.IFmBankAccountService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**   
 * @Title: 银行账户统计
 * @Description: 银行账户统计
 * @author TianShixi
 * @date 2021-07-16 09:41:13
 * @version V1.0   
 *
 */
@Transactional
@Service("fmBankAccountService")
public class FmBankAccountServiceImpl  extends CommonServiceImpl<FmBankAccountMapper,FmBankAccount> implements  IFmBankAccountService {

	@Override
	public boolean insertBatch(List<FmBankAccount> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.insertBatch(list);
		}
		return true;
	}

	@Override
	public boolean updateBatch(List<FmBankAccount> list) {
		if(list!=null&&list.size()>0){
			return baseMapper.updateBatch(list);
		}
		return true;
	}
}
